package com.ktwlsoft.archivemanage.payload.businessGuidance;

import com.ktwlsoft.archivemanage.domain.dao.entity.BaseEntity;
import com.ktwlsoft.archivemanage.domain.dao.entity.Imgs;
import com.ktwlsoft.archivemanage.payload.guiBusiness.BasisBusinessManageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import javax.validation.constraints.Size;

import java.io.Serializable;
import java.util.List;

/**
 * 指导条目
 *
 * @author zhuhe on 2020-03-12 14:07:50
 * @version 1.0
 */
@ApiModel("指导条目-GuiGuidanceItemUpdate")
@Data
public class GuiGuidanceItemUpdateRequest extends BaseEntity implements Serializable{

    /**指导id**/
    @ApiModelProperty("指导id")
    private Long guidanceId;

    /**条目名称**/
    @ApiModelProperty("条目名称")
    private String name;

    /**内容**/
    @ApiModelProperty("内容")
    private String content;

    /**1.正常,2.禁用,-1.删除*/
    @ApiModelProperty("1.正常,2.禁用,-1.删除")
    private Integer dataState;

    /**1.添加,2.编辑,-1.删除,0.不做操作*/
    @ApiModelProperty("1.添加,2.编辑,-1.删除,0.不做操作")
    private Integer type;

    /**排序*/
    @ApiModelProperty("排序字段")
    private Integer sort;

    /**指导条目图片*/
    @ApiModelProperty("指导条目图片")
    private List<Imgs> imgList;

    /**依据*/
    @ApiModelProperty("依据")
    private List<BasisBusinessManageRequest> basisBusinessManages;
}
